package com.lagou.lagouserviceuser.service;

import com.lagou.lagouserviceuser.mapper.UserMapper;
import com.lagou.lagouserviceuser.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Authther: mrwu
 * @date:2021/4/14-04
 * @Description:com.lagou.lagouserviceuser.service
 */
public interface UserService {
    User getuserByEmail(String email);
    boolean registUser(User user);
    //判断user是否存在根据邮箱和密码
    User quryUser(User user);
}
